<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script src="jQuery3.6.0.js"></script>

</head>
<body>
    <table border="1px">
        <tr>
            <th>编号</th>
            <th>车型</th>
            <th>所属城市</th>
            <th>使用单位</th>
            <th>压差报警值</th>
            <th>报警时间</th>
            <th>操作</th>
        </tr>
        <c:forEach items="${requestScope.list}" var="l">
            <tr>
                <th><a href="servletElm?id=${l.id}">${l.id}</a></th>
                <th>${l.carName}</th>
                <th>${l.cityName}</th>
                <th>${l.userName}</th>
                <th>${l.presssureValue}</th>
                <th>${l.time}</th>
                <th><a href="Delete_do.jsp?id=${l.id}">删除</a></th>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
